Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle unique constraints in changeColumn() for postgres #46

Merged
merged 1 commit into from Sep 14, 2012

Conversation

ryanmeador
Copy link
Contributor

There doesn't seem to be support for unique constraints passed to the changeColumn() function for the Postgres backend; they just get ignored. I added support for it. Please pull this change into your repo.

@kunklejr
Copy link
Contributor

kunklejr commented Sep 4, 2012

Any chance you'd be willing to add a test for that so it doesn't slip through the cracks again in the future? If not, I can write one, but I might not get to it right away.

@ryanmeador
Copy link
Contributor Author

I can probably figure out how to do that. I'll try to get to it today.

kunklejr added a commit that referenced this pull request Sep 14, 2012
handle unique constraints in changeColumn() for postgres
@kunklejr kunklejr merged commit 394e342 into db-migrate:master Sep 14, 2012
@kunklejr
Copy link
Contributor

Fix is in version 0.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants